package com.yt.system.domain;

import java.io.Serializable;

public class AccountActivity implements Serializable {
    private Integer aaId;

    private Integer aid;

    private Integer actid;

    private String resource;

    private String state;

    private Integer flag;

    private User user;

    private GroupTable group;

    private Activity activity;

    public AccountActivity() {
    }

    public AccountActivity(Integer aaId, Integer aid, Integer actid, String resource, String state, Integer flag, User user, GroupTable group, Activity activity) {
        this.aaId = aaId;
        this.aid = aid;
        this.actid = actid;
        this.resource = resource;
        this.state = state;
        this.flag = flag;
        this.user = user;
        this.group = group;
        this.activity = activity;
    }

    public Integer getAaId() {
        return aaId;
    }

    public void setAaId(Integer aaId) {
        this.aaId = aaId;
    }

    public Integer getAid() {
        return aid;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    public Integer getActid() {
        return actid;
    }

    public void setActid(Integer actid) {
        this.actid = actid;
    }

    public String getResource() {
        return resource;
    }

    public void setResource(String resource) {
        this.resource = resource;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    public Activity getActivity() {
        return activity;
    }

    public void setActivity(Activity activity) {
        this.activity = activity;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public GroupTable getGroup() {
        return group;
    }

    public void setGroup(GroupTable group) {
        this.group = group;
    }

    @Override
    public String toString() {
        return "AccountActivity{" +
                "aaId=" + aaId +
                ", aid=" + aid +
                ", actid=" + actid +
                ", resource='" + resource + '\'' +
                ", state='" + state + '\'' +
                ", flag=" + flag +
                ", user=" + user +
                ", group=" + group +
                ", activity=" + activity +
                '}';
    }
}